#set($layout = "/layout/no.html")  
#parse("/common/common.html")
##grid
<div class="page-content">
<div class="page-content-area">
		<div class="row">
		<form id="mainForm" action="#" class="form-horizontal">
			<input name="supplierId" type="hidden" value="$!{record.supplierId}" />
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="supplierName"><span class="form-require">*</span>名称</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="supplierName" name="supplierName" placeholder="名称" value="$!{record.supplierName}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="mnemonicCode"><span class="form-require">*</span>助记码</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="mnemonicCode" name="mnemonicCode" placeholder="名称" value="$!{record.mnemonicCode}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="supplierType"><span class="form-require">*</span>供应商类型</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="supplierType" name="supplierType"  >
					    #select($dicts.SupplierType $record.supplierType)
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="supplierLevel"><span class="form-require">*</span>供应商等级</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="supplierLevel" name="supplierLevel"  >
					    #select($dicts.SupplierLevel $record.supplierLevel)
					    </select>
					</div>
				</div>
			</div>
			
			  <div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="tel"><span class="form-require">*</span>联系电话</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required phone" type="text" id="tel" name="tel" placeholder="联系电话" value="$!{record.tel}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="fax">传真</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control" type="text" id="fax" name="fax" placeholder="传真" value="$!{record.fax}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="managerName">负责人</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control" type="text" id="managerName" name="managerName" placeholder="负责人" value="$!{record.managerName}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="managerTel">负责人电话</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control" type="text" id="managerTel" name="managerTel" placeholder="负责人电话" value="$!{record.managerTel}" />
					</div>
				</div>
			</div>
			
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="province"><span class="form-require">*</span>省</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="province" name="province" placeholder="省" value="$!{record.province}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="city"><span class="form-require">*</span>市</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="city" name="city" placeholder="市" value="$!{record.city}" />
					</div>
				</div>
			</div>
			
			
	        <div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="county"><span class="form-require">*</span>区县</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="county" name="county" placeholder="区县" value="$!{record.county}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="street">街道</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control" type="text" id="street" name="street" placeholder="名称" value="$!{record.street}" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="address"><span class="form-require">*</span>详细地址</label>
					<div  class="col-xs-11 col-sm-10" >
						<input class="form-control required" type="text" id="address" name="address" placeholder="详细地址" value="$!{record.address}" />
					</div>
				</div>
			</div>
			
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="supplierStatus"><span class="form-require">*</span>状态</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="supplierStatus" name="supplierStatus"  >
					    #select($dicts.useStatus $record.supplierStatus)
					    </select>
					</div>
				</div>
			</div>
				<!-- 清楚浮动 -->
			<!-- <div style="height: 0px; width: 0px;clear: both;">&nbsp;</div> -->
			
			<div class="col-xs-12 col-sm-12">
				<div class="form-group">
					<label class="col-xs-1 col-sm-2 control-label no-padding-right" for="description">描述</label>
					<div  class="col-xs-11 col-sm-10" >
						<textarea id="supplierDesc" name="supplierDesc" class="form-control" style="height: 200px;">$!{record.supplierDesc}</textarea>
					</div>
				</div>
			</div>
		</form>
		</div>
	</div>
</div>
		
<script src="${contextPath}/view/depot/supplier/js/detail.js"></script>